import request from '@/utils/request';

export const login = (params: any) => {
  return request({
    url: `api/login`,
    method: 'post',
    data: { //post请求数据data携带到了请求体
        "uid": params.uid,
        "pwd": params.pwd
    }
  });
};

